package com.blb.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wss
 * @since 2020-05-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_shelf")
public class Shelf extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 货架编号
     */
    private String shelfNo;

    /**
     * 库区id（t_area外键）
     */
    private String areaId;

    /**
     * 主要商品
     */
    private String product;

    /**
     * 状态(满货/未满)
     */
    private String shelfStatus;

    /**
     * 货架备注
     */
    private String shelfRemark;


    @TableField(exist = false)
    private String name;

    /**
     * 关联货区
     */
    @TableField(exist = false)
    private Area area;


    /**
     * 货区名称
     */
    @TableField(exist = false)
    private String warehouseName;

    /**
     * 负责人
     */
    @TableField(exist = false)
    private String warehousePerson;

    /**
     * 联系电话
     */
    @TableField(exist = false)
    private String personTel;

    /**
     * 货区编号
     */
    @TableField(exist = false)
    private String areaNo;

    /**
     * 货区名称
     */
    @TableField(exist = false)
    private String areaName;


    /**
     * 所属仓库
     */
    @TableField(exist = false)
    private String warehouseId;

}
